<?php
namespace app\home\controller;
use app\common\controller\Homebase;
use nncms\tp_wechat\Wechat;
use nncms\tp_wechat\base\WechatBase;
use \think\Loader;
use \think\cache;
error_reporting(0);

/*
** 前台首页
*/

class Wechar extends Homebase {
	
	// 优先加载
	public function  _initialize() {
		parent::_initialize();
		
		
	}

	public function index()
	{
		//$data = Wechat::menu()->getToken();
		$Wechatbas = new WechatBase;
		$dataq = $Wechatbas->getToken();
		$data = Wechat::menu()->getMenu();
		dump($data);
		
		return $arr;
	}
	


}
